package com.appcenter.application.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Configuration
@ConfigurationProperties(prefix = "remote", ignoreUnknownFields = false)
@PropertySource("classpath:remote.properties")
@Component
public class RemoteProperties {
    private String msgUrl;
    private String hrUnitService;
    private String hrUserService;




    public String getMsgUrl() {
        return msgUrl;
    }

    public void setMsgUrl(String msgUrl) {
        this.msgUrl = msgUrl;
    }

    public String getHrUnitService() {
        return hrUnitService;
    }

    public void setHrUnitService(String hrUnitService) {
        this.hrUnitService = hrUnitService;
    }

    public String getHrUserService() {
        return hrUserService;
    }

    public void setHrUserService(String hrUserService) {
        this.hrUserService = hrUserService;
    }
}
